package net.app.zoneland.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description
 * @Author LENOVO
 * @CreateTime 2021/1/25 22:24
 * @Version: 1.0
 */
@Data
public class MenuTreeVo {

    private Integer id;

    private Integer parentId;

    @NotEmpty(message = "菜单名不可为空")
    private String menuName;

    private String perms;

    @NotEmpty(message = "菜单url不可为空")
    private String menuUrl;

    @NotNull(message = "菜单类型不可为空")
    private Integer isMenu;

    private Integer sort;

    private String menuIcon;

    private Date createTime;

    private boolean open=false;

}
